
<template>
    <div>
        <table>
            <thead>
                <tr>
                    <th>全选 <input type="checkbos"></th>
                    <th>bug描述</th>
                    <th class="c2">操作</th>
                </tr>
            </thead>
            <tbody>
                <BugItem v-for="bug of bugList" :key="bug.id" :bugObj="bug"></BugItem>
            </tbody>
        </table>

    </div>
</template>


<script>

import BugItem from "./BugItem.vue"; 
 export default{
        name: "BugList",
        data(){
            return{
                bugList: [
                    { id: 1, description: "Bug 1" ,resolved:false},
                    { id: 2, description: "Bug 2" ,resolved:false},
                    { id: 3, description: "Bug 3" ,resolved:false},
                    { id: 4, description: "Bug 4" ,resolved:false},
                    { id: 5, description: "Bug 5" ,resolved:false},
                    { id: 6, description: "Bug 6" ,resolved:false},
                    { id: 7, description: "Bug 7" ,resolved:false},
                    { id: 8, description: "Bug 8" ,resolved:false},
                    { id: 9, description: "Bug 9" ,resolved:false},
                    { id: 10, description: "Bug 10" ,resolved:false}
                ]
            }
        },
        components:{
            BugItem
        }
    }
</script>
<style>

</style>